import {createBrowserRouter} from 'react-router-dom';
import Home from "@/pages/Home/index";
import Detail from "@/pages/Detail/index";
const router = createBrowserRouter([
    {
        path:'/',
        element:<Home></Home>
    },
    {
        path:'/detail',
        element:<Detail></Detail>
    }
])

export {router}